package com.codeblue.tools.codeGenerator;

import java.util.ArrayList;
import java.util.List;

/**
 * 所有 UI的基类
 * @author jiulong.hu
 */
public class Component {
	private String textField;   //组件显示的名称
	private String valueField;  //组件值
	private String compontId; //组件ID
	
	List<Component> children = new ArrayList<Component>(); //子组件

	public String getTextField() {
		return textField;
	}

	public void setTextField(String textField) {
		this.textField = textField;
	}

	public String getValueField() {
		return valueField;
	}

	public void setValueField(String valueField) {
		this.valueField = valueField;
	}

	public String getCompontId() {
		return compontId;
	}

	public void setCompontId(String compontId) {
		this.compontId = compontId;
	}

	public List<Component> getChildren() {
		return children;
	}

	public void setChildren(List<Component> children) {
		this.children = children;
	}
	
} 
